/////////////////////////////////////////////////////////////////////////////
//
// Readme for Diplomod script AI for CTP2 - Version 3.3
//
// Diplomacy by Dale
//
// 3-Mar-2001
//
// Free for public use and modification
//
// This file has been modified for the Med Mod.
//
// Diplomod version 3.3 is not tested for compatibility with frenzy AI
// Diplomod version 3.3 contains Withdraw version 1.2
//
/////////////////////////////////////////////////////////////////////////////

Filelist:
---------

readme-diplomod.txt				- This file
history-diplomod.txt				- History of versions and changes
modersnotes-diplomod.txt			- Notes for moders wanting to use Diplomod
ctp2_data\default\aidata\diplomacy.txt		- Updated diplomacy models
ctp2_data\default\aidata\diplomacyproposal.txt	- Updated proposal settings
ctp2_data\default\gamedata\diplomod.slc		- SLIC for diplomacy
ctp2_data\english\gamedata\diplomod_str.txt	- Required message settings

Installing:
-----------

NOTE: If you are updating from Diplomod V3.2, you need to copy the files over the existing ones, and delete #include "withdraw.slc" from script.slc.  I have streamlined all SLIC files into one.

IMPORTANT: This mod will change the default install settings for diplomacy for all games and scenarios.  I have done this because I (and many others at Apolyton) see the default CTP2 diplomacy model as useless and the AI does not make use of the enhanced features, and commonly makes stupid illogical errors in its diplomacy (EG. Requesting something it's just rejected).  I have tried to make this mod as generic as possible.  If you have your own mods or changes then this shouldn't interfere much, if at all.  If you use a different advance than bureaucracy to enable Diplomats, you will need to change "The art of establishing embassies" to the required advance (See modersnotes-diplomod.txt).

1 - Unzip files to Call to Power 2 install directory.
2 - Open: \Call to Power 2\ctp2_data\default\gamedata\script.slc in notepad.
3 - Delete from bottom of file: 
		#include "diplomacy.slc"
4 - Add the following line to bottom of file:
		#include "diplomod.slc"
5 - Open: \Call to Power 2\ctp2_data\english\gamedata\strings.txt in notepad.
6 - Add the following line to bottom of file:
		import "diplomod_str.txt"
7 - PLAY!

Effects of script:
------------------

New diplomacy models for AI to AI and AI to HUMAN interaction.

- AI will not by default refuse another AI's proposal.
- AI has higher priorities for making proposals.  This causes the AI to make more proposals.
- AI's will generate either positive or negative regard for each other.
- AI/Human interaction will be more agressive/demanding.
- Enabled trade and military pacts for peace treaty.  I believe this to be more historically accurate.
- On average, an AI will make 15 considerations for proposals every turn for every civ.
- AI has 3 different AI-Human diplomatic states being friendly, neutral and provoking.
- AI's will now build embassies with other AI civs.
- AI's will now pullout non-civilian troops from land when withdraw troops agreement is in place.
- AI's will swap maps rarely in the beginning with increasing frequency till normal 1% chance.
- NEW PROPOSAL: Break agreements.  Request/offer to break agreements.  This will break all agreements with a third civ.
- AI's will almost snub you completely if at war with you.
- Disabled Research Pact to avoid platent Activision bug.

Suggestions:
------------

See Apolyton CTP2-Creation or CTP2-Mods/Scenarios forums for details on how to do these.

1 - Increase AI timeslices in const.txt.
2 - Play on larger maps.  My diplomacy model works better on them.
3 - Change all "SpecialUnitsCount" in strategies.txt to double what they are now.  Has the effect of the AI using more clerics/diplomats/spies/corporates/etc.

Using saved games:
------------------

IMPORTANT: If you install Diplomod then decide to play a saved game from BEFORE Diplomod, you must do the following after loading the saved game:
     1. Press the apostrophe key (')
     2. Type "/reloadslic" without the quote marks
     3. Press ENTER twice
This is only required the first time you load a saved game from BEFORE Diplomod.  If you save that game again or create a new game or scenario, you are not required to reload the SLIC.
WARNING: The above procedure may corrupt your save file meaning you cannot play it.  There is no support for using the above.

Moders Notes:
-------------

If you're a moder and wish to use Diplomod in your own mod, then have a read of modersnotes-diplomod.txt where I describe the design and reasoning behind my madness, and point out areas that might need to be changed depending on your mod.

Diplofrenzy Notes:
------------------

In Diplomod V3.3 there is NO internal support for Frenzy AI.  The mods have not been tested together to see what result would occur.  However it has been noted on the Apolyton CTP2 Forums that the two mods fit well together in a game of CTP2.  If you install Frenzy AI after Diplomod, you will need to copy the file diplomacy.txt from the Diplomod zip file back into the game.

Bug Notes:
----------

There are two known diplomacy bugs that shipped with the release version of CTP2.  These were not fixed in the patch 1.11 update.  These two bugs are the "advance-for-gold" bug and the "research-treaty" bug (See Apolyton CTP2 forum boards for details).  These are internal bugs and cannot be rectified by SLIC.  The "advance-for-gold" bug is where the AI requests an advance, you counter by asking for gold, the AI accepts and receives the advance, but you do not receive the gold.  The "research treaty" bug is where the AI will gain one advance per turn if you have a research pact with them.  To counter this bug I have disabled Research Pacts entirely.

Credits:
--------

I wish to thank the following people for their help, patience and prodding to make me get up and finish this project:

- Markos and Dan at Apolyton Civ Site.  Moderator fellas.  They do a fantastic job with the site.  Also, Markos convinced me to keep moding after I cracked it at Activision's dumping CTP2 while it was still buggy.  http://apolyton.net
- OmniGod.  Files database admin type guy.  As far as I know he's been using Diplomod since the first and has helped me out with bugs and suggestions, and has helped others out when I was too slow to reply on the forums.
- Locutus.  SLIC guru god.  Without your SLIC notes this mod wouldn't have come about.  Also thanks for helping me out with chunks of code and suggestions.
- Wes.  Famous moder dude.  He's been patient while I iron out the bugs and add in a few other suggestions.  Thanks mate and I hope this adds flavour to the Med Mod.
- Richard (Azmel).  The AI coding guru from Activision.  Thanks for helping the moding community with all your tips and tricks and explanations.
- Beta testers.  There's about 8 of you (from memory).  Thanks for helping me test this thing and finding all the probs with the various versions.  How many times did you crash out to desktop without a msg?  :)
- Loyal fans.  The most important people of all.  Without you folks this mod is just another piece of code floating round cyber-space.  I hope this mod makes CTP2 better for ya's.

End:
----

I hope you enjoy Diplomod.  If you have suggestions/comments, please email me or preferable leave a message on the Apolyton CTP2 forums.

Dale
dale.kent@mel.alphawest.com.au